package com.epichust.bootumpp.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ：longyang
 * @date ：Created in 2021/1/25 14:07
 * @description：订单bom
 */
public class Mbb5OrderBom implements Serializable {
    private static final long serialVersionUID = -1L;
    private Integer id;
    private String orderCode;//订单号
    private String mrlCode;//物料编码
    private String mrlName;//物料名称
    private BigDecimal qty;//数量
    private BigDecimal singleMrlQty;//单个物料组件数量
    private String opCode;//工序编码
    private String opName;//工序名称
    private Integer isCritical = 0;//是否关重件（0否，1是）
    private String inventFlag;//虚拟键标识
    private String rowCode;//行号
    private String version;//版本
    private String createId;//创建人
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;//创建时间
    private String modifyId;//修改人
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modifyDate;//修改时间
    private int isDelete = 0;//删除状态
    private String siteCode;//工厂编码
    private String workCenterCode;//工作中心编码
    private String token;//令牌
    private String records;//记录条数

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getMrlCode() {
        return mrlCode;
    }

    public void setMrlCode(String mrlCode) {
        this.mrlCode = mrlCode;
    }

    public String getMrlName() {
        return mrlName;
    }

    public void setMrlName(String mrlName) {
        this.mrlName = mrlName;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public BigDecimal getSingleMrlQty() {
        return singleMrlQty;
    }

    public void setSingleMrlQty(BigDecimal singleMrlQty) {
        this.singleMrlQty = singleMrlQty;
    }

    public String getOpCode() {
        return opCode;
    }

    public void setOpCode(String opCode) {
        this.opCode = opCode;
    }

    public String getOpName() {
        return opName;
    }

    public void setOpName(String opName) {
        this.opName = opName;
    }

    public Integer getIsCritical() {
        return isCritical;
    }

    public void setIsCritical(Integer isCritical) {
        this.isCritical = isCritical;
    }

    public String getInventFlag() {
        return inventFlag;
    }

    public void setInventFlag(String inventFlag) {
        this.inventFlag = inventFlag;
    }

    public String getRowCode() {
        return rowCode;
    }

    public void setRowCode(String rowCode) {
        this.rowCode = rowCode;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifyId() {
        return modifyId;
    }

    public void setModifyId(String modifyId) {
        this.modifyId = modifyId;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getSiteCode() {
        return siteCode;
    }

    public void setSiteCode(String siteCode) {
        this.siteCode = siteCode;
    }

    public String getWorkCenterCode() {
        return workCenterCode;
    }

    public void setWorkCenterCode(String workCenterCode) {
        this.workCenterCode = workCenterCode;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRecords() {
        return records;
    }

    public void setRecords(String records) {
        this.records = records;
    }
}
